package com.xueyi.game.backend.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author: hxs
 * @createDate: 2022/11/9 11:00
 * @description: 修改角色状态参数
 */
@Data
public class ChangeRoleStatusDto {
    /**
     * 角色id
     */
    @NotNull(message = "参数异常")
    private Integer id;

    /**
     * 是否有效
     */
    @NotNull(message = "参数异常")
    private Integer isValid;
}
